/*
 * BQ24075.h
 *
 * Created: 13.01.2012 16:41:55
 *  Author: Alex
 */ 


#ifndef BQ24075_H_
#define BQ24075_H_

#define CHARGE_100mA	1
#define CHARGE_500mA	2
#define CHARGE_ILIM		3

#define BQ_DDR		DDRD
#define BQ_PORT		PORTD
#define BQ_PIN_EN1	4
#define BQ_PIN_EN2	5
#define BQ_PIN_CE	6

void initCharge(void);
void setCharge(uint8_t current);
void setPower(uint8_t on);


#endif /* BQ24075_H_ */